home *** CD-ROM | disk | FTP | other *** search
- ******************* Invsubto COMMAND FILE ***********************
- * Sub-Module of the Invprint command file.
- * Prints subtotals for Taxed and Untaxed items at the end of
- * a page, the top of a new page and at the end of the invoice.
- *****************************************************************
- *
- IF Taxed = 0
- FirstSub = SPACE(11)
- A = SPACE(9)
- ELSE
- FirstSub = STR(Taxed,11,2)
- A = '---------'
- ENDIF
- IF Service = 0
- SecondSub = SPACE(11)
- B = ' '
- ELSE
- SecondSub = STR(Service,11,2)
- B = ' ---------'
- ENDIF
- *
- ? SPACE(56) + A + B
- ? SPACE(15) + 'Sub-totals: ' + SPACE(25) + FirstSub + SecondSub
- *
- RETURN